<?=view("home.common.header")?>
<div class="container-fluid">
        <div class="row">
            <div class="col-xs-12 col-sm-12 bottom-line">
                <i class="glyphicon glyphicon-chevron-right jt"></i><span class="headfont">官方全系列产品</span>
            </div>
            <div class="sh font14">套餐已含初装费</div>
            <?php if ($pcates && count($pcates)): ?>
                <?php foreach ($pcates as $val): ?>
                <div class="col-xs-6 col-sm-4 xxk">
                    <a href="<?= url("home/index/product?ptype={$request->input('ptype', 1)}&pcate={$val->id}&area=1") ?>">
                        <?=$val->name?>
                    </a>
                </div>
                <?php endforeach; ?>
            <?php endif; ?>
        </div>
        <div class="row">
            <div class="col-xs-12 col-sm-12 padding0">
                <img class="bottom-img" src="<?=asset("images/djyh1.PNG")?>" />
            </div>
        </div>
    </div>
    <script>
        var msg = '<?= $msg ?>';
        if (msg) {
            layer.open({
                content: msg,
                style: 'background-color:#09C1FF; color:#fff; border:none;',
                time: 2
            });
            window.setTimeout(function(){
                window.location.href = '<?=url("home/person/setinfo")?>'
            }, 2000);
        }
    </script>
<?= view('home.common.footer') ?>